package com.liujun.spring4.demo.annotation.aspect.methodpointcut.annotation;

import com.liujun.spring4.demo.annotation.aspect.baseClass.Waiter;
import com.liujun.spring4.demo.annotation.base.javaannotation.NedTest;

/**
 * @author liujun
 * @version 0.0.1
 * @date 2018/10/01
 */
public class NaughtyWaiter implements Waiter {

  @NedTest
  @Override
  public void greetTo(String name) {
    System.out.println("NaughtyWaiter greetTo :" + name);
  }

  @Override
  public void serveTo(String name) {
    System.out.println("NaughtyWaiter serveTo :" + name);
  }

  public void joke(String clientname, int times) {
    System.out.println("NaughtyWaiter joke : clientname" + clientname + ",times:" + times);
  }
}
